﻿using CsvHelper.Configuration.Attributes;

namespace Util.Model
{
    public class CSVData
    {

        [Name("电表名称")]
        public string Cylinder { get; set; }

        [Name("用电量KWH")]
        public double CurrentPosition { get; set; }

        [Name("时间")]
        public string CrateTime { get; set; }
    }
    public class CSVData2
    {

        [Name("温湿度表名称")]
        public string Cylinder { get; set; }

        [Name("温度值")]
        public double Parm1 { get; set; }

        [Name("湿度值")]
        public double Parm2 { get; set; }

        [Name("时间")]
        public string CrateTime { get; set; }
    }
    public class CSVData3
    {
        [Name("变压器温度表名称")]
        public string Cylinder { get; set; }

        [Name("A相温度值")]
        public double Parm1 { get; set; }

        [Name("B相温度值")]
        public double Parm2 { get; set; }

        [Name("C相温度值")]
        public string Parm3 { get; set; }

        [Name("时间")]
        public string CrateTime { get; set; }
    }
}
